﻿using System;

namespace diantou.web.include
{
    /// <summary>
    /// 用户信息
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true, QueryName = null)]
    partial class userInfo : adminView<userInfo>
    {
        /// <summary>
        /// 用户信息
        /// </summary>
        private diantou.dataAccess.user user;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="email"></param>
        /// <returns></returns>
        private bool loadView(int userId, string email)
        {
            if (userId != 0) user = diantou.dataAccess.clientCache.User[userId];
            else user = diantou.dataAccess.clientCache.User[diantou.dataAccess.tcpCall.user.getId(email)];
            return true;
        }

    }
}
